projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b75af5
)
Don't try to eval local variables in Gnus article
author
Katsumi Yamaoka
<yamaoka@jpl.org>
Mon, 19 Jun 2017 02:10:22 +0000
(
02:10
+0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Mon, 19 Jun 2017 02:10:22 +0000
(
02:10
+0000)
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Disable local vars.
lisp/gnus/mm-view.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/mm-view.el
b/lisp/gnus/mm-view.el
index dd64bfed60a1a4d7ef753a5da452c965a20ff848..4276f9e9a431e2f6d1e7f2f74f7e1f6118fe6f23 100644
(file)
--- a/
lisp/gnus/mm-view.el
+++ b/
lisp/gnus/mm-view.el
@@
-488,7
+488,8
@@
If MODE is not set, try to find mode automatically."
(funcall mode))
(let ((auto-mode-alist
(delq (rassq 'doc-view-mode-maybe auto-mode-alist)
- (copy-sequence auto-mode-alist))))
+ (copy-sequence auto-mode-alist)))
+ (local-enable-local-variables nil))
(set-auto-mode)))
;; The mode function might have already turned on font-lock.
;; Do not fontify if the guess mode is fundamental.